@keyframes errorTips{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}
html,body{
    height: 100%;
}

.regLogin-container{
    width: 900px;
    padding: 50px 0px;
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%,0%);
    form{
        ::-moz-placeholder{
            color:#777;
            font-weight: 200;
        }
        ::-webkit-input-placeholder{
            color:#777;
            font-weight: 200;
        }
        &::after{
        content: "";
        display: block;
        clear: both;
        height: 0px;
        }
    }
    .regLogin-title{
        float: left;
        width: 300px;
        padding: 10px 20px;
        box-sizing: border-box;
        p{
            color: #00aeff;
            font-size: 16px;
            text-decoration: underline;
            font-weight: 300;
            text-align: right;
            cursor: pointer;            
        }
        p.on{
            color: #666;
            font-size: 36px;
            text-decoration: none;
            cursor: default;
            margin-bottom: 20px;
        }
    }
    .regLogin-form{
        float: left;
        width: 600px;
        padding: 10px 20px;
        box-sizing: border-box;
        .regLogin-input-box{
            position: relative;
            width: 350px;
            margin-bottom: 25px;
            .regLogin-input{
                width: 100%;
                height: 35px;
                border: none;
                outline: none;
                padding: 5px 20px;
                box-sizing: border-box;
                background-color: transparent;
                &:focus ~ .regLogin-input-border{
                    border-color: #00aeff;
                }
            }
            input[type="checkbox"]{

            }
            .regLogin-input-border{
                position: absolute;
                bottom: 0px;
                left: 0px;
                z-index: -1;
                width: 100%;
                height: 10px;
                box-sizing: border-box;
                border: 2px solid #ddd;
                border-top: none;
                transition: all .2s ease;
            }
            .regLogin-checkbox-label{
                font-size: 12px;
                color: #aaa;
                font-weight: 200;
                a{
                    color: #00aeff;
                    border-bottom: 1px dotted #00aeff;
                }
            }
            // 提交按钮样式
            .regLogin-button{
                padding: 5px 100px;
                border: none;
                outline: none;
                border-radius: 5px;
                background-color: #00aeff;
                color: white;
                font-weight: lighter;
                cursor: pointer;
                &:hover{
                    background-color: rgba(0, 174, 255, 0.8);
                }
                &:active{
                    background-color: rgba(0, 174, 255, 0.9);
                }
            }
            // 验证码样式
            .telValidator{
                width: 200px;
            }
            // 验证码提交按钮样式
            .telValidator-button{
                position: absolute;
                top: 50%;
                right: 0%;
                transform: translate(0%,-50%);
                padding: 5px 20px;
            }
            // 验证错误提示
            .error-tips{
                position: absolute;
                top: 50%;
                right: 0px;
                padding: 5px 10px;
                border-radius: 5px;
                transform: translate(calc(~"100% + 15px"),-50%);
                background-color: #fe5555;
                color: white;
                font-weight: lighter;
                font-size: 12px;
                animation: errorTips .5s;
                &::before{
                    content: "";
                    position: absolute;
                    left: 0px;
                    top: 50%;
                    transform: translate(-100%,-50%);
                    width: 0px;
                    height: 0px;
                    border-top: 5px solid transparent;
                    border-right: 7px solid #fe5555;
                    border-bottom: 5px solid transparent;
                    border-left: 7px solid transparent;
                }
            }
        }
    }
}